package com.mengniu.commerce.collect.mapper;

import com.mengniu.commerce.collect.model.SysYzTokenConfig;
import com.mengniu.common.mybatis.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SysYzTokenConfigMapper extends BaseMapperPlus<SysYzTokenConfigMapper, SysYzTokenConfig,SysYzTokenConfig> {

    @Delete("delete from sys_yz_token_config where id > 0")
    int deleteAll();

    @Select("select * from sys_yz_token_config")
    SysYzTokenConfig selectInfo();

}
